package com.example.demo.Service;

import com.example.demo.Entity.Directoryitem;
import com.example.demo.Entity.Note;

import java.util.List;

public interface DirectoryitemService {
    public List<Directoryitem> findDirectoryitemByUserId(int userId);
    public void insertDirectoryitem(Directoryitem directoryitem);
    public void updateDirectoryitem(Directoryitem directoryitem);
    public void deleteDirectoryitem(Directoryitem directoryitem);
    public List<Note> findNoteByDirectoryId(int directoryId);
    public void deleteDirectoryitemById(int directoryId);
    public  Directoryitem selectByDirectoryId(int directoryId);
    public Directoryitem selectByDirectoryName(String directoryName);
}
